<?php

return [

    /*
    |--------------------------------------------------------------------------
    | Default Filesystem Disk
    |--------------------------------------------------------------------------
    |
    | Here you may specify the default filesystem disk that should be used
    | by the framework. A "local" driver, as well as a variety of cloud
    | based drivers are available for your choosing. Just store away!
    |
    | Supported: "local", "ftp", "s3", "rackspace"
    |
    */

    'default' => 'local',

    /*
    |--------------------------------------------------------------------------
    | Default Cloud Filesystem Disk
    |--------------------------------------------------------------------------
    |
    | Many applications store files both locally and in the cloud. For this
    | reason, you may specify a default "cloud" driver here. This driver
    | will be bound as the Cloud disk implementation in the container.
    |
    */

    'cloud' => 's3',

    /*
    |--------------------------------------------------------------------------
    | Filesystem Disks
    |--------------------------------------------------------------------------
    |
    | Here you may configure as many filesystem "disks" as you wish, and you
    | may even configure multiple disks of the same driver. Defaults have
    | been setup for each driver as an example of the required options.
    |
    */

    'disks' => [

        'local' => [
            'driver' => 'local',
            'root'   => storage_path('app'),
        ],

        'ftp' => [
            'driver'   => 'ftp',
            'host'     => 'ftp.example.com',
            'username' => 'your-username',
            'password' => 'your-password',

            // Optional FTP Settings...
            // 'port'     => 21,
            // 'root'     => '',
            // 'passive'  => true,
            // 'ssl'      => true,
            // 'timeout'  => 30,
        ],

        's3' => [
            'driver' => 's3',
            'key'    => 'your-key',
            'secret' => 'your-secret',
            'region' => 'your-region',
            'bucket' => 'your-bucket',
        ],

        'rackspace' => [
            'driver'    => 'rackspace',
            'username'  => 'your-username',
            'key'       => 'your-key',
            'container' => 'your-container',
            'endpoint'  => 'https://identity.api.rackspacecloud.com/v2.0/',
            'region'    => 'IAD',
            'url_type'  => 'publicURL',
        ],

//        'qiniu' => [
////            'driver'     => 'qiniu',
////            'access_key' => env('QINIU_ACCESS_KEY', 'VJgUsgyYTJr8LGPNCc2Kz2jmzT2uf59o4zsAZJ9a'),
////            'secret_key' => env('QINIU_SECRET_KEY', 'v4uQoSON1x6b5u-1Nsp7xKYyjxZU8giHOj2vD0497fmGgwjy55VB_j7'),
////            'bucket'     => env('QINIU_BUCKET', 'evan'),
////            'domain'     => env('QINIU_DOMAIN', 'http://p6lowho26.bkt.clouddn.com'), // or host: https://xxxx.clouddn.com
//            'driver'     => 'qiniu',
//            'access_key' => env('QINIU_ACCESS_KEY', '7JVuSdIVTFxrrKpJG0WOhTcGFmzkCKSJoLD4HUoN'),
//            'secret_key' => env('QINIU_SECRET_KEY', 'v4uQoSON1x6b5u-8v5CXazNcUpcvkiwxYYpSLGeH'),
//            'bucket'     => env('QINIU_BUCKET', 'lottery'),
//            'domain'     => env('QINIU_DOMAIN', 'imgcdn.qi.la'), // or host: https://xxxx.clouddn.com
////                'driver'     => 'qiniu',
////                'access_key' => env('QINIU_ACCESS_KEY', 'V4Hdu0oV2vR4AmKAK3gw55k_7uBAs38ksXwOu4a4'),
////                'secret_key' => env('QINIU_SECRET_KEY', 'v4uQoSON1x6b5u-K56MThCtA1FCZ99IbqXzXJ08_MFusNHNCaS1Nm-R'),
////                'bucket'     => env('QINIU_BUCKET', 'shop'),
////                'domain'     => env('QINIU_DOMAIN', 'pdi74nzka.bkt.clouddn.com'),
//        ],

        'qiniu' => [
            'driver'     => 'qiniu',
            'access_key' => env('QINIU_ACCESS_KEY', 'Kp6noM3yavVCEGvhW-ehK0nmp6Kt2jF7swKpcDzp'),
            'secret_key' => env('QINIU_SECRET_KEY', 'SYrOjPziY4gb7ozsRNIcQMeTHtrDWGP_h7K1foxm'),
            'bucket'     => env('QINIU_BUCKET', 'togogo'),
            'domain'     => env('QINIU_DOMAIN', 'imgcdn.tuogouchebao.com'), // or host: https://xxxx.clouddn.com
        ],
    ],

];
